TEMPLATE	=   app
CONFIG		+=  debug  c++11
CONFIG		+=  qt
TARGET		=   QtOpenGL
QT          +=  core gui widgets
unix:!mac{QMAKE_LFLAGS += "-Wl,-rpath=./"}

include(QtOpenGL.pri);



win32{
    release:DESTDIR         = $$PWD/release/bin
    release:MOC_DIR         = $$PWD/release/moc
    release:RCC_DIR         = $$PWD/release/rcc
    release:UI_DIR          = $$PWD/release/qui
    release:OBJECTS_DIR     = $$PWD/release/obj

    debug:DESTDIR         = $$PWD/debug/bin
    debug:MOC_DIR         = $$PWD/debug/moc
    debug:RCC_DIR         = $$PWD/debug/rcc
    debug:UI_DIR          = $$PWD/debug/qui
    debug:OBJECTS_DIR     = $$PWD/debug/obj
   # message("Windows build")
}

unix{
    DESTDIR         = $$PWD/output/bin
    MOC_DIR         = $$PWD/output/release/moc
    RCC_DIR         = $$PWD/output/release/rcc
    UI_DIR          = $$PWD/output/release/qui
    OBJECTS_DIR     = $$PWD/output/release/obj
    message("Linux build")
}


